//
//  EidtTableViewCell.h
//  CarTown
//
//  Created by xionghao on 15/8/10.
//  Copyright (c) 2015年 熊浩. All rights reserved.
//

#import <UIKit/UIKit.h>



@class Pubmode;
@class EidtTableViewCell;

@protocol EidtTableViewCellDelegate <NSObject>

-(void)textFieldChange:(EidtTableViewCell *)cell;
-(void)textFieldBeginEidtChange:(EidtTableViewCell *)cell withTextFiled:(UITextField *)textfield;
@end


@interface EidtTableViewCell : UITableViewCell
@property (weak, nonatomic) IBOutlet UILabel *titlelable;
@property (weak, nonatomic) IBOutlet UITextField *detail;
@property (weak, nonatomic) IBOutlet UILabel *ismust;
@property (weak, nonatomic) IBOutlet UILabel *price;
@property (nonatomic,copy) Pubmode *mode;
+(instancetype)cellWithTable:(UITableView *)tableView;

@property (nonatomic,weak) id<EidtTableViewCellDelegate> delegate;

@end
